home *** CD-ROM | disk | FTP | other *** search
- Path: druid.borland.com!usenet
- From: pete@borland.com (Pete Becker)
- Newsgroups: comp.lang.c++
- Subject: Re: Problem with exceptions. Borland c++
- Date: 10 Apr 1996 15:39:21 GMT
- Organization: Borland International
- Message-ID: <4kgkn9$6lm@druid.borland.com>
- References: <4kcns7$5rb@service-2.agate.net>
- NNTP-Posting-Host: pbecker.borland.com
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=ISO-8859-1
- X-Newsreader: WinVN 0.99.5
-
- In article <4kcns7$5rb@service-2.agate.net>, ettienne@agate.net says...
- >
- >I'm running into a problem while throwing an exception. The exception
- >object on the stack is being desctructed twice. Is there any info
- >about how Borland implement the exceptions, so I can see what I'm
- >corrupting? The rtl source code does not include the the exception
- >handlers.
-
- If you create your exception object on the stack it will be copied using the
- copy constructor, then in the course of stack cleanup its destructor will be
- run. Eventually the copy's destructor will also be run.
-
-